﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.ProductionManagement
{
    /// <summary>
    /// 种公母后裔档案
    /// </summary>
    public class SheepArchives:BaseEntity
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        public int RecordId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? RecordAuricle { get; set; }
        /// <summary>
        /// 电子耳号
        /// </summary>
        public string? RecordCorpuscle { get; set; }
        /// <summary>
        /// 母亲耳号
        /// </summary>
        public string? RecordMother { get; set; }
        /// <summary>
        /// 父亲耳号
        /// </summary>
        public string? RecordFather { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string? RecordBreed { get; set; }
        /// <summary>
        /// 出生状态
        /// </summary>
        public string? RecordBorn { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime RecordDate { get; set; }
        /// <summary>
        /// 出生场地
        /// </summary>
        public string? RecordSite { get; set; }
        /// <summary>
        /// 出生重（公斤）
        /// </summary>
        public decimal? RecordWeight { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? RecordRemark { get; set; }
        /// <summary>
        /// 入场日期
        /// </summary>
        public DateTime AdmissionDate { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? Sex { get; set; }
        /// <summary>
        /// 基因等级
        /// </summary>
        public string? Gene { get; set; }
        /// <summary>
        /// 羊只类型 0种母 1种公 2后裔
        /// </summary>
        public int? RecordType { get; set; }
        /// <summary>
        /// 羊场外键
        /// </summary>
        public int FarmId { get; set; }
        /// <summary>
        /// 栏位外键
        /// </summary>
        public int? FieldId { get; set; }
        /// <summary>
        /// 栋舍外键
        /// </summary>
        public int? CottageId { get; set; }
        /// <summary>
        /// 羊只照片
        /// </summary>
        public string? SheepImage { get; set; }

        /// <summary>
        /// 生长阶段
        /// </summary>
        public int? Stage { get; set; }
        /// <summary>
        /// 生产等级
        /// </summary>
        public int? ProductionGrade { get; set; }
        /// <summary>
        /// 销售等级
        /// </summary>
        public int? SalesGrade { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int? ReproductiveState { get; set; }
        /// <summary>
        /// 繁殖状态天数
        /// </summary>
        public int? ReproductiveStateDays { get; set; }
        /// <summary>
        /// 在场状态
        /// </summary>
        public int? PresenceStatus { get; set; }
        /// <summary>
        /// 是否妊检
        /// </summary>
        public int? IsPregnancyTest { get; set; }
        /// <summary>
        /// 断奶重量
        /// </summary>
        public decimal? WeanWeight { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime? WeanDate { get; set; }
    }
}
